Conversation
- Fix SSE reconnect infinite loop: exponential backoff, fresh tokens, max 5 retries (#10) - Add useFetch cancellation guard to prevent setState after unmount (#29) - Fix OIDC StrictMode double-fire with processedRef guard (#30) - Add RequireRole route guard, wire admin/analytics routes (#31) - Add responsive layout at tablet (1023px) and mobile (767px) breakpoints (#32) - Add ARIA: Modal focus trap/save/restore, progressbar roles, form labels (#33) - Fix var(--hover) → var(--border) in .oauth-btn:hover (#46) - Export authFetch, rewrite exportProject to use it (#47) Self-review fix: reset retryCountRef on projectId change in useSSE. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner
Author
Self-review defect:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cancelledRefguard prevents setState after unmount.processedRefprevents double-fire in React StrictMode dev mode./adminand/analytics. Removed inline role check from Analytics page. Replacedalert()with inline error in Admin page.@mediaqueries at 1023px (tablet: 2-col grids) and 767px (mobile: stacked layout, horizontal nav).role="dialog"+aria-modal+aria-labelledby+ focus trap + body scroll lock. Progress bars withrole="progressbar"+ aria attributes. Form labels withhtmlFor/id. Navaria-label.var(--hover)→var(--border)in.oauth-btn:hover.authFetchfrom client.ts, rewriteexportProjectto use it instead of rawfetch.Self-review fix
retryCountRefnot reset onprojectIdchange in useSSE — if SSE to project A failed N times, navigating to project B would carry over the retry count, reducing available retries.Test plan
npx tsc --noEmit)Generated by Claude Code · Claude Opus 4.6